#pragma once
#include "Expr.h"
#include "Id.h"
#include "Temp.h"
#include "RTL.h"
#include "Token.h"
class Access
	:public Expr
{
public:
	Id* base;
	Expr* offset;
	Type* type;
	Access(Id* base,Expr* offset,Type* type);
	~Access();

	virtual string ToRTL();
	virtual Expr* reduce();
};

